<div class="SubMenu">
   {* page={$menu_page}    main={$menu_main}    sub={$menu_sub} *}
<table class="menu_left" border="0" cellpadding="0" cellspacing="0">

{foreach key="itr" from=$menuData item=subItem}
	{if $subItem[2]==1}
		{if $subItem[4]}
	        {foreach key="itr1" from=$subItem[4] item=subPage}
	        	{if $subPage==$menu_sub}
	        		{assign var="isParent" value="1"}
	        	{/if}
	        {/foreach}
        {/if}
        {if $Staff->Login() && $subItem[0]=='trial'}
        {else}
		<tr onMouseOver="javascript:menu_over(this);"
            onMouseOut="javascript: menu_out(this);"
            onClick="javascript: menu_click('/{$lang}/{$subItem[3]}.html');">
	    	<td
	    	{if $menu_page==$subItem[3] || ($menu_main=="expired" && $subItem[3]=="trial") || $isParent==1}
	    		class="submenuCaption"

	    	{/if}
	    	><nobr><span {if $subItem[0]=='trial'}
	    		class="redBold"
	    	{elseif $subItem[0]=='mapsignup' || $subItem[0]=='subscribe' || $subItem[0]=='tech'}
	    		class="justBold"
	    	{/if}>{$subItem[1]}</span></nobr>{*$subItem[0]*}</td>
			<td
			{if $menu_page==$subItem[3] || ($menu_main=="expired" && $subItem[3]=="trial") || $isParent==1}
	    		class="submenuCaption"
	    	{/if}
	    	 align="right">></td>
		</tr>
		{/if}
	{/if}
         {assign var="isParent" value="0"}
{/foreach}

</table>
</div>
